/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for cmsAccountReceiveMoneyBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class cmsAccountReceiveMoneyBL 
    {
    	#region Private Variables
		cmsAccountReceiveMoneyDAL objcmsAccountReceiveMoneyDAL;
		#endregion
		
        #region Public Constructors
        public cmsAccountReceiveMoneyBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsAccountReceiveMoneyDAL=new cmsAccountReceiveMoneyDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsAccountReceiveMoneyDO objcmsAccountReceiveMoneyDO)
        {
            return objcmsAccountReceiveMoneyDAL.Insert(objcmsAccountReceiveMoneyDO);
        }

        public int Update(cmsAccountReceiveMoneyDO objcmsAccountReceiveMoneyDO)
        {
             return objcmsAccountReceiveMoneyDAL.Update(objcmsAccountReceiveMoneyDO);

        }

        public int Delete(cmsAccountReceiveMoneyDO objcmsAccountReceiveMoneyDO)
        {
             return objcmsAccountReceiveMoneyDAL.Delete(objcmsAccountReceiveMoneyDO);

        }
        public DataTable Search(string type, DateTime searchDate, DateTime fromDate, DateTime toDate, string status, int customerId)
        {
            return objcmsAccountReceiveMoneyDAL.Search(type,searchDate,fromDate,toDate,status,customerId);
        }
         public int DeleteAll()
        {
             return objcmsAccountReceiveMoneyDAL.DeleteAll();
        }
         public DataTable Statistic(DateTime fromDate, DateTime toDate, int customerId)
         {
             return objcmsAccountReceiveMoneyDAL.Statistic(fromDate, toDate, customerId);
         }
        public cmsAccountReceiveMoneyDO Select(cmsAccountReceiveMoneyDO objcmsAccountReceiveMoneyDO)
        {
            return objcmsAccountReceiveMoneyDAL.Select(objcmsAccountReceiveMoneyDO);
        }
        public cmsAccountReceiveMoneyDO SelectByOrder(string orderCode)
        {
            return objcmsAccountReceiveMoneyDAL.SelectByOrder(orderCode);
        }
        public ArrayList SelectAll1( )
        {
         return objcmsAccountReceiveMoneyDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsAccountReceiveMoneyDAL.SelectAll();
        }


     
#endregion          
    
    }

}
